[INFO] cloning repository https://github.com/henry0w/ticket-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henry0w/ticket-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry0w%2Fticket-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry0w%2Fticket-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4fbdbb98a7a432f9b1cbe86f5c611fe122493024
[INFO] documenting henry0w/ticket-bot against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenry0w%2Fticket-bot" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/henry0w/ticket-bot on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/henry0w/ticket-bot
[INFO] finished tweaking git repo https://github.com/henry0w/ticket-bot
[INFO] tweaked toml for git repo https://github.com/henry0w/ticket-bot written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/henry0w/ticket-bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c9883acf0fa09d575d87cac0a3bf6ec87652838e7d76c535c66b1f43d6092fb
[INFO] running `Command { std: "docker" "start" "-a" "3c9883acf0fa09d575d87cac0a3bf6ec87652838e7d76c535c66b1f43d6092fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c9883acf0fa09d575d87cac0a3bf6ec87652838e7d76c535c66b1f43d6092fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c9883acf0fa09d575d87cac0a3bf6ec87652838e7d76c535c66b1f43d6092fb", kill_on_drop: false }`
[INFO] [stdout] 3c9883acf0fa09d575d87cac0a3bf6ec87652838e7d76c535c66b1f43d6092fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a1a7806ae43b4dc7b30253c2f0c330fb3162abffd9b9779488913bb7204162a4
[INFO] running `Command { std: "docker" "start" "-a" "a1a7806ae43b4dc7b30253c2f0c330fb3162abffd9b9779488913bb7204162a4", kill_on_drop: false }`
[INFO] [stderr]  Documenting ticketbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/utils/database.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |           let rec = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |             "INSERT INTO tickets ( current_ticket_status, messages, channel_id )
[INFO] [stdout] 29 | |             VALUES  ( 'open' , '{}' , $1 )
[INFO] [stdout] 30 | |             RETURNING id ;",
[INFO] [stdout] 31 | |             channel_id as i64
[INFO] [stdout] 32 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/utils/database.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | /         sqlx::query!(
[INFO] [stdout] 44 | |             "INSERT INTO panels ( message_id, category_id, interaction_id )
[INFO] [stdout] 45 | |             VALUES  ( $1 , $2 , $3 ); ",
[INFO] [stdout] 46 | |             message_id as i64,
[INFO] [stdout] 47 | |             category_id as i64,
[INFO] [stdout] 48 | |             interaction_id
[INFO] [stdout] 49 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/utils/database.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |           let rec = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 56 | |             "SELECT * 
[INFO] [stdout] 57 | |                 FROM panels 
[INFO] [stdout] 58 | |                 WHERE interaction_id = $1",
[INFO] [stdout] 59 | |             inter_id
[INFO] [stdout] 60 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/utils/database.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |   ...   let recs = sqlx::query_as!(Ticket, "SELECT id, current_ticket_status as \"current_ticket_status: TicketStatus\", channel_id, messages 
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 68 | | ...           FROM tickets 
[INFO] [stdout] 69 | | ...           WHERE channel_id = $1",
[INFO] [stdout] 70 | | ...           channel_id as i64
[INFO] [stdout] 71 | | ...       )   
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/utils/database.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 |   ...   let rec = sqlx::query_as!(Ticket, "SELECT id, current_ticket_status as \"current_ticket_status: TicketStatus\", channel_id, messages 
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 79 | | ...           FROM tickets 
[INFO] [stdout] 80 | | ...           WHERE channel_id = $1",
[INFO] [stdout] 81 | | ...           channel_id as i64
[INFO] [stdout] 82 | | ...       )   
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/utils/database.rs:89:19
[INFO] [stdout]    |
[INFO] [stdout] 89 |   ...   let rec = sqlx::query_as!(Ticket, "SELECT id, current_ticket_status as \"current_ticket_status: TicketStatus\", channel_id, messages 
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 90 | | ...           FROM tickets 
[INFO] [stdout] 91 | | ...           WHERE id = $1",
[INFO] [stdout] 92 | | ...           ticket as i64
[INFO] [stdout] 93 | | ...       )   
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/utils/database.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 | /         sqlx::query_as!(
[INFO] [stdout] 104 | |             Ticket,
[INFO] [stdout] 105 | |             "UPDATE tickets 
[INFO] [stdout] 106 | |                 SET current_ticket_status = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |             ticket as i64
[INFO] [stdout] 110 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/utils/database.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 | /         sqlx::query!(
[INFO] [stdout] 118 | |             "UPDATE tickets
[INFO] [stdout] 119 | |                 SET messages = messages || $1
[INFO] [stdout] 120 | |                 WHERE id = $2 ",
[INFO] [stdout] 121 | |             &vec!(message),
[INFO] [stdout] 122 | |             ticket as i64
[INFO] [stdout] 123 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/utils/database.rs:129:20
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let recs = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 130 | |             "SELECT * 
[INFO] [stdout] 131 | |                 FROM panels 
[INFO] [stdout] 132 | |                 WHERE interaction_id = $1",
[INFO] [stdout] 133 | |             id
[INFO] [stdout] 134 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/utils/database.rs:140:19
[INFO] [stdout]     |
[INFO] [stdout] 140 |           let rec = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 141 | |             "SELECT messages 
[INFO] [stdout] 142 | |                 FROM tickets 
[INFO] [stdout] 143 | |                 WHERE id = $1",
[INFO] [stdout] 144 | |             ticket as i64
[INFO] [stdout] 145 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `ticketbot`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name ticketbot src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=51f9111dee98a0df -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-f1703b06d46aedcb.rmeta --extern config=/opt/rustwide/target/debug/deps/libconfig-36140ae0206ae1bb.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-9bc5e01eabfc6340.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-3ab14ef94a1f89cf.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-cf0efeccfe16c8c6.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-b267249de2dd8218.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-0b24321b25ee1255.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-2ca31b938b42d37b.rmeta --extern serenity=/opt/rustwide/target/debug/deps/libserenity-e87b0ff4f3ff6b6b.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-cff58bd3212c8238.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-d8bf3dd346db7535.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-ad40e18ecdfdf6e0.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-8f1e5aa410d33ae1.rmeta --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-24bab4f52e3e01c9.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-c441c622d04138ef.rmeta --cap-lints=allow -Zunstable-options -wjson --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "a1a7806ae43b4dc7b30253c2f0c330fb3162abffd9b9779488913bb7204162a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1a7806ae43b4dc7b30253c2f0c330fb3162abffd9b9779488913bb7204162a4", kill_on_drop: false }`
[INFO] [stdout] a1a7806ae43b4dc7b30253c2f0c330fb3162abffd9b9779488913bb7204162a4
